-- GENERATED SPELL FOR [Deep Dweller] --


function spell0_5467(pUnit, Event) --@War Stomp,Self--
pUnit:FullCastSpellOnTarget(45,pUnit)
pUnit:RegisterEvent('Sorts_5467', 626, 1)
end

function Sorts_5467(pUnit, Event)
local choix_sorts_5467 = math.random(0, 0)
if choix_sorts_5467 == 0 then
pUnit:RegisterEvent('spell0_5467', 1, 1)
end
end

function mob5467_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5467', math.random(1500, 3000), 1)
end

function mob5467_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5467_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5467_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5467, 1, 'mob5467_Action')
RegisterUnitEvent(5467, 2, 'mob5467_Leave')
RegisterUnitEvent(5467, 3, 'mob5467_Kill')
RegisterUnitEvent(5467, 4, 'mob5467_Die')
